home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 1 / PC Actual CD 01.iso / share / dos / graficos / plydat14.arj / MYNAME.PI < prev    next >
Encoding:
Text File  |  1992-04-05  |  1.0 KB  |  51 lines

  1. // Generic Polyray input File
  2. // Polyray input file: Alexander Enzmann
  3.  
  4. // Set up the camera
  5. viewpoint {
  6.    from < 5.678, 2.142, -13.709 >
  7.    at < 5.678, 0, 0>
  8.    up < 0, 1, 0 >
  9.    angle 45
  10.    hither 1
  11.    resolution 160, 100
  12.    aspect 1.333
  13.    }
  14.  
  15.  
  16. background <0, 0, 0>
  17. light <-10,20,-20>
  18.  
  19. bounding_slab <1, 0, 0>
  20. bounding_slab <0, 1, 0>
  21. bounding_slab <0, 0, 1>
  22.  
  23. // Get the default textures
  24. include "colors.inc"
  25.  
  26. // Define a texture for my name
  27. define mtex
  28. texture {
  29.    noise surface {
  30.       position_fn 1
  31.       lookup_fn 1
  32.       octaves 4
  33.       turbulence 3
  34.       ambient 0.2
  35.       diffuse 0.6
  36.       specular 0.7
  37.       microfacet Reitz 10
  38.       color_map(
  39.          [0.0, 0.8, <1, 1, 1>, <0.6, 0.6, 0.6>]
  40.          [0.8, 1.0, <0.6, 0.6, 0.6>, <0.1, 0.1, 0.1>])
  41.       }
  42.    scale <0.5, 0.5, 0.5>
  43.    }
  44.  
  45. include "myname.inc"
  46.  
  47. object {
  48.    polygon 4, <-40,-0.1, -40>, <-40,-0.1, 40>, <40,-0.1, 40>, <40,-0.1, -40>
  49.    texture { checker mirror, reflective_coral scale <2, 1, 2> }
  50.    }
  51.